import request from '@/utils/request'

// 查询YingJiFuWu列表
export function listYingjifuwu(query) {
  return request({
    url: '/system/yingjifuwu/list',
    method: 'get',
    params: query
  })
}

// 查询YingJiFuWu详细
export function getYingjifuwu(id) {
  return request({
    url: '/system/yingjifuwu/' + id,
    method: 'get'
  })
}

// 新增YingJiFuWu
export function addYingjifuwu(data) {
  return request({
    url: '/system/yingjifuwu',
    method: 'post',
    data: data
  })
}

// 修改YingJiFuWu
export function updateYingjifuwu(data) {
  return request({
    url: '/system/yingjifuwu',
    method: 'put',
    data: data
  })
}

// 删除YingJiFuWu
export function delYingjifuwu(id) {
  return request({
    url: '/system/yingjifuwu/' + id,
    method: 'delete'
  })
}
